package com.senyint.imsdk.listener;

import org.jivesoftware.smack.packet.Packet;
import com.senyint.imsdk.packet.SimpleEventIQ;

public interface SdkHandlerListener {
	public void handleLoginSuccess(String uid,String token);
	public void handleLoginFailed(Exception e);
	public void handleConnectionClosedOnError(Exception ex);
	public void handleConnectionClosed() ;
	public void handleReconnectionFailed(Exception e) ;
	public void handleReconnectionSuccessful();
	public void handlePacketBeforeSent(Packet packet);
	public void handleReceivedEvent(SimpleEventIQ packet);
	public void handleReceivedPacket(Packet packet);
	public void handleUserConflict() ;
}
